view.js